import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Login from '../views/Login/index.vue'
import Register from '../views/Register/index.vue'

Vue.use(VueRouter)

const routes = [
	{
		path: '/',
		name:'Login',
		component: Login
	},{
		path: '/login',
		name:'Login',
		component: Login
	},{
		path: '/register',
		name:'Register',
		component: Register
	},{
		path: '/home',
		name: 'Home',
		component: Home
	}
]
const router = new VueRouter({
  routes
})

export default router
